package com.haoniu.module.domain.database;

import com.haoniu.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

    
/**
 * 商户余额账号表 merchant_info
 *
 * @author houyijun
 * @date 2019-01-28
 */
public class MerchantInfo extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 商户姓名 */
	private String merchantName;
	/** 实际可用余额 */
	private BigDecimal avalibleMoney;
	/** 商户信息描述 */
	private String merchantDesc;
	/** 扩展信息1 */
	private String extendInfo;
	/** 扩展信息2 */
	private String extendInfo2;
	/** 扩展信息3 */
	private String extendInfo3;
	/** 扩展信息4 */
	private String extendInfo4;
	/**  */
	private Date createTime;
	/** 修改日期 */
	private Date updateTime;
	/** 删除标识 0-未删除 2-已删除 */
	private Integer delFlag;

	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return id;
	}
	public void setMerchantName(String merchantName){
		this.merchantName = merchantName;
	}

	public String getMerchantName(){
		return merchantName;
	}
	public void setAvalibleMoney(BigDecimal avalibleMoney){
		this.avalibleMoney = avalibleMoney;
	}

	public BigDecimal getAvalibleMoney(){
		return avalibleMoney;
	}
	public void setMerchantDesc(String merchantDesc){
		this.merchantDesc = merchantDesc;
	}

	public String getMerchantDesc(){
		return merchantDesc;
	}
	public void setExtendInfo(String extendInfo){
		this.extendInfo = extendInfo;
	}

	public String getExtendInfo(){
		return extendInfo;
	}
	public void setExtendInfo2(String extendInfo2){
		this.extendInfo2 = extendInfo2;
	}

	public String getExtendInfo2(){
		return extendInfo2;
	}
	public void setExtendInfo3(String extendInfo3){
		this.extendInfo3 = extendInfo3;
	}

	public String getExtendInfo3(){
		return extendInfo3;
	}
	public void setExtendInfo4(String extendInfo4){
		this.extendInfo4 = extendInfo4;
	}

	public String getExtendInfo4(){
		return extendInfo4;
	}
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getCreateTime(){
		return createTime;
	}
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	public void setDelFlag(Integer delFlag){
		this.delFlag = delFlag;
	}

	public Integer getDelFlag(){
		return delFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("merchantName", getMerchantName())
            .append("avalibleMoney", getAvalibleMoney())
            .append("merchantDesc", getMerchantDesc())
            .append("extendInfo", getExtendInfo())
            .append("extendInfo2", getExtendInfo2())
            .append("extendInfo3", getExtendInfo3())
            .append("extendInfo4", getExtendInfo4())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
